#ifndef __LIB_FILTER_H__
#define __LIB_FILTER_H__

#include <rtthread.h>
#include <rtdevice.h>
#include <board.h>
#include <stdint.h>


float lowpass_filter(float current_value, float pre_value, float domain_value, uint32_t sample_time_ms, uint32_t filter_time_ms);


#endif 
